projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
778865f
)
GdkGLContextX11: Don't free NULL visual info
author
Alexander Larsson
<alexl@redhat.com>
Wed, 29 Oct 2014 10:25:21 +0000
(11:25 +0100)
committer
Alexander Larsson
<alexl@redhat.com>
Wed, 29 Oct 2014 10:26:00 +0000
(11:26 +0100)
gdk/x11/gdkglcontext-x11.c
patch
|
blob
|
history
diff --git
a/gdk/x11/gdkglcontext-x11.c
b/gdk/x11/gdkglcontext-x11.c
index 12a6b8a8435410a2680993c8b07c526ec5f75722..a6f8213ebc4e8311c5d0ba3487152eb725b8010e 100644
(file)
--- a/
gdk/x11/gdkglcontext-x11.c
+++ b/
gdk/x11/gdkglcontext-x11.c
@@
-634,10
+634,7
@@
find_fbconfig_for_visual (GdkDisplay *display,
visinfo = glXGetVisualFromFBConfig (dpy, configs[i]);
if (visinfo == NULL)
- {
- XFree (visinfo);
- continue;
- }
+ continue;
if (visinfo->visualid != xvisual_id)
continue;